<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2021/3/20
  Time: 9:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
  <%
      request.setAttribute("num",Math.random()*100);

  %>

<%
    double d=(Double)request.getAttribute("num");
    out.print(d);
%>
</body>
</html>
